Optimal. Leaf size=123 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (b e-a f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0209132, antiderivative size = 123, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.034, Rules used = {132} \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (b e-a f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 132
Rubi steps
\begin{align*} \int (a+b x)^m (c+d x)^n (e+f x)^{-2-m-n} \, dx &=\frac{(a+b x)^{1+m} (c+d x)^n \left (\frac{(b e-a f) (c+d x)}{(b c-a d) (e+f x)}\right )^{-n} (e+f x)^{-1-m-n} \, _2F_1\left (1+m,-n;2+m;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(b e-a f) (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0529848, size = 123, normalized size = 1. \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (b e-a f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.145, size = 0, normalized size = 0. \begin{align*} \int \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{-2-m-n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]